<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>书籍列表</title>
</head>
<body>
    <h2>书籍列表</h2>
    <form action="/books" method="get">
        <input type="text" name="name" placeholder="搜索书籍名称" />
        <input type="submit"</th>
            <th>作者</th>
            <th>价格</th>
            <th>出版时间</th>
            <th>操作</th>
        </tr>
        <c:forEach items="${books}" var="book">
            <tr>
                <td>${book.bid}</td>
                <td>${book.bname}</td>
                <td>${book.bauthor}</td>
                <td>${book.bprice}</td>
                <td>${book.bpublishtime}</td>
                <td><a href="/books/delete/${book.bid}">删除</a></td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>